
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
    <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
</head>

<body style="color:#333;padding:3px;">
    <!-- 标题 -->
    <div class="page-heade">
      <h2 class="title_color text-center">交货确认单</h2>
    </div>
    <!-- 标题 -->
    <form action="" method="get" class="form-inline">
     <table class="table table-bordered text-center bud_hei" style="margin-bottom: 0">
        <tr>
            <td style="min-width: 160px;width: 160px">申请人：</td>
            <td class="text-left"><a href="javascript:;">蔡启蒙</a></td>
             <td style="min-width: 160px;width: 160px">申请人部门：</td>
            <td class="text-left">华中大区</td>
            <td style="min-width: 160px;width: 160px">申请日期：</td>
            <td class="text-left">2017-11-03</td>
        </tr>
         <tr>
            <td style="min-width: 160px;width: 160px">确认人：</td>
            <td class="text-left"><a href="javascript:;">蔡启蒙</a></td>
             <td style="min-width: 160px;width: 160px">确认部门：</td>
            <td class="text-left">华中大区</td>
            <td style="min-width: 160px;width: 160px">确认日期：</td>
            <td class="text-left">2017-11-03</td>
        </tr>
        <tr>
            <td style="min-width: 160px;width: 160px">供应商：</td>
            <td class="text-left" colspan="3">西洋有限公司</td>
             <td style="min-width: 160px;width: 160px">物料类型：</td>
            <td class="text-left">销售物料</td>
        </tr>
         <tr>
            <td style="min-width: 160px;width: 160px">主题(采购原因)：</td>
            <td class="text-left" colspan="5">2016西北促销物料申请</td>
        </tr>
    </table>
      <table class="table table-bordered text-center bud_hei">
        <tr class="info">
            <th class="text-center">序号</th>
            <th class="text-center">物料编号</th>
            <th class="text-center" style="min-width: 260px;width: 260px">物料名称</th>
            <th class="text-center">单位</th>
            <th class="text-center">采购申请数量</th>
            <th class="text-center" style="min-width: 140px;width: 140px;">交货数量<span class="colorRed">*</span></th>
            <th class="text-center">交货金额(元)</th>
            <th class="text-center">期望收货日期</th>
            <th class="text-center">实际交货日期</th>
            <th class="text-center">备注</th>
        </tr>
         <tr>
           <td>1</td>
           <td><a href="{:url('Other/no_product')}">XSWL00001</a></td>
           <td class="text-left">挂网</td>
           <td>个</td>
           <td class="text-right ObjectNum">25</td>
           <td><input type="text" class="form-control" name="" style="min-width: 140px;width: 140px;" id="jh_num"></td>
           <td class="text-right ObjectNum">2500</td>
           <td>2016-08-18</td>
           <td><input type="text" class="form-control layer-date" id="sj_jhtime" style="min-width: 120px;width:120px;"></td>
           <td></td>
        </tr>
       <tr>
           <td>2</td>
            <td><a href="{:url('Other/no_product')}">XSWL00001</a></td>
           <td class="text-left">挂网</td>
           <td>个</td>
           <td class="text-right ObjectNum">25</td>
           <td class="text-right ObjectNum">100</td>
           <td class="text-right ObjectNum">2500</td>
           <td>2016-08-18</td>
           <td>2016-08-18</td>
           <td></td>
        </tr>
        <tfoot>
          <tr class="text-right">
            <td colspan="4">总计：</td>
            <td class="ObjectNum">50</td>
            <td class="ObjectNum">50</td>
            <td class="ObjectNum">600</td>
            <td colspan="3"></td>
          </tr>
        </tfoot>
        </table>
        <div class="padding-10 text-center">
          <button class="btn-success btn" type="button" id="bf_btn">部分交货</button>
          <span class="lr_5"></span>
          <button class="btn-primary btn" type="button" id="all_btn">全部交货</button>
          <span class="lr_5"></span>
          <button class="btn btn-warning" type="button" onclick="back()"> 返回</button>
        </div>
      </form>
     <!--  <div class="SuccessImg font-bold">
        已&nbsp;生&nbsp;效
      </div> -->
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
        <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
            <script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
        <script src="__STATIC__/layout/js/common.js"></script>
        <script>
                $(document).ready(function(){
            var $ObjectNum =$(".ObjectNum");
               toNum($ObjectNum);
               var $bf_btn = $("#bf_btn");
               var $all_btn = $("#all_btn");
               yz($bf_btn);
               yz($all_btn);
        })
      laydate({
        elem:"#sj_jhtime",
        event:"focus"
      })

      function yz(obj){
          obj.click(function(){
            if($("#jh_num").val()==""){
              swal("","交货数量不能为空！","error")
            }else{
              
            }
          })
      }

        </script>
</body>

</html>
